package com.ly.cloud.service;

import com.ly.cloud.dto.CodeRuleDetailDto;
import com.ly.cloud.vo.CodeRuleDetailVo;
import com.ly.cloud.vo.CodeRuleOperateDetailVo;

import java.util.List;

/**
 * @Author: pengshiqng
 * @Description:
 * @Date: Create in 2018/12/7
 */
public interface CodeRuleDetailService {

    List<CodeRuleDetailVo> selectAll(String columnName,String templateId);

    int deleteById(Long id) ;

    int deleteByIds(List<Long> ids) ;

    List<CodeRuleOperateDetailVo> showPop(String templateId);


    void insert(String loginUserName , CodeRuleDetailDto dto) ;

    int update(String loginUserName , CodeRuleDetailDto dto) ;
}
